#ifndef LCD_API_H
#define LCD_API_H

#define RADIAN(angle)  ((angle==0)?0:(3.14159*angle/180))

void RoundClock(int hours ,int minute ,int sec);
void RoundClock_CLR(int hours ,int minute ,int sec);
extern float clock_angle;//时钟旋转的角度

extern void RoundClock_CLR_ALL(int hours ,int minute ,int sec);
extern int WatchHour,WatchMiniute,WatchSec;

typedef struct COORDINATE 
{
	int x;
	int y;
}TypeXY;
#define point TypeXY 

typedef struct ROATE
{
	TypeXY center;
	float angle;
	int direct;
}TypeRoate;

#endif
